import { Tools } from 'weaver-mobile';

export const goalCardList = params => {   //目标根层级列表
    let options = {
		method: 'POST',
		url: '/api/workrelate/goal/goalCardList',
		params
	};
    return Tools.callApi(options);
}

export const goalListPage = params => {   //目标listpage列表
    let options = {
		method: 'POST',
		url: '/api/workrelate/goal/goalListPage',
		params
	};
    return Tools.callApi(options);
}

export const goalCard = params => { //获取组织目标卡片
	let options = {
		method: 'GET',
		url: '/api/workrelate/goal/goalCard',
		params
	};
    return Tools.callApi(options);
}